package cn.org.donald.mapper;

import cn.org.donald.framework.pojo.dto.Page;
import cn.org.donald.pojo.dto.game.QueryGameDto;
import cn.org.donald.pojo.entity.game.Game;
import cn.org.donald.pojo.vo.GameVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Donald
 * @since 2020-12-12
 */
public interface GameMapper extends BaseMapper<Game> {

    /**
     * 分页多字段模糊查询
     * @param page
     * @param queryGameDto
     * @return
     */
    List<GameVo> queryByAllLike(Page<GameVo> page, @Param("query") QueryGameDto queryGameDto);
}
